package com.jzh.cmhSystem.biz;


import com.jzh.cmhSystem.entity.UserAndDetail;

import java.util.List;

public interface UserAndDetailService {


    List<UserAndDetail> getUserListByRoleAndName(String nickname, String phone, String name, String role, Integer enterpriseId);
    List<UserAndDetail> getUserEnListByRoleAndName(String nickname, String phone, String name, String role, Integer enterpriseId);

    void addDetail(UserAndDetail userAndDetail);

    List<UserAndDetail> getEnUserByUserId(int id);

    void updateInfo(UserAndDetail userAndDetail);

    void updateInfoById(UserAndDetail userAndDetail);

    void deleteUserDetailById(UserAndDetail userAndDetail);


    List<UserAndDetail> getUserDetailByUserId(int id);
}
